* sysdep.c (sys_suspend): Set synch_process_alive, so that
authorJim Blandy <jimb@redhat.com>
Fri, 21 May 1993 22:33:45 +0000 (22:33 +0000)
committerJim Blandy <jimb@redhat.com>
Fri, 21 May 1993 22:33:45 +0000 (22:33 +0000)
wait_for_termination has something to wait for.

src/sysdep.c

index 99df6865338efc1866b400f4aec878278d98b7a0..79bac258c3bb9bebffe8ced63be491d392b8665a 100644 (file)
@@ -590,6 +590,7 @@ sys_suspend ()
     }
 
   save_signal_handlers (saved_handlers);
+  synch_process_alive = 1;
   wait_for_termination (pid);
   restore_signal_handlers (saved_handlers);